﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace EagleProject.LinQDataContext
{
    [MetadataType(typeof(AccidentRecordMetaData))]
    public partial class AccidentRecord { }
    public class AccidentRecordMetaData
    {
        [Required]
        [Display(Name = "ID")]
        public int ID { get; set; }

        [Required]
        [Display(Name = "Description")]
        public string Descriptions { get; set; }

        [Required]
        [Display(Name = "Location")]
        public string Location { get; set; }

        [Required]
        [Display(Name = "Accident Type")]
        public string AccidentType { get; set; }

        [Required]
        [Display(Name = "Level Of Severity")]
        public string LevelOfSeverity { get; set; }

        [Required]
        [Display(Name = "Local Gov Area")]
        public int LGAID { get; set; }

        [Required]
        public int AdminID { get; set; }
    }

    [MetadataType(typeof(ConsultantMetaData))]
    public partial class Consultant { }
    public class ConsultantMetaData
    {
        [Required]
        [Display(Name = "ID")]
        public int ID { get; set; }

        [Required]
        [Display(Name = "First Name")]
        public string FirstName { get; set; }

        [Display(Name = "Middle Name")]
        public string MiddleName { get; set; }

        [Required]
        [Display(Name = "Last Name")]
        public string Lastname { get; set; }

        [Required]
        [Display(Name = "Address")]
        public string Addresses { get; set; }

        [Required]
        [Display(Name = "City")]
        public string City { get; set; }

        [Required]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Required]
        [Display(Name = "Name")]
        public string Guarantor_Name { get; set; }

        [Required]
        [Display(Name = "Contact Number 1")]
        public string Guarantor_ContactNumber1 { get; set; }

        [Display(Name = "Contact Number 2")]
        public string Guarantor_ContactNumber2 { get; set; }

        [Required]
        [Display(Name = "Address")]
        public string Guarantor_Address { get; set; }

        [Required]
        public int AdminID { get; set; }

        [Required]
        [Display(Name = "Local Gorverment Area")]
        public int LGAID { get; set; }
    }

    [MetadataType(typeof(CommonSubscriberRegMetaData))]
    public partial class CommonSubscriberReg { }
    public class CommonSubscriberRegMetaData
    {
        [Required]
        [Display(Name = "First Name")]
        public string FirstName { get; set; }

        [Display(Name = "Middle Name")]
        public string MiddleName { get; set; }

        [Required]
        [Display(Name = "Last Name")]
        public string Lastname { get; set; }

        [Required]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Required]
        [Display(Name = "Marial Status")]
        public string MaritalStatus { get; set; }

        [Required]
        [Display(Name = "Occupation")]
        public string Occupation { get; set; }

        [Required]
        [DisplayFormat(DataFormatString = "{0:d}")]
        [DataType(DataType.Date)]
        [Display(Name = "Date of Birth")]
        public DateTime DOB { get; set; }

        [Required]
        [Display(Name = "Gender")]
        public bool Gender { get; set; }

        [Required]
        [Display(Name = "Contact Address")]
        public string ContactAddress { get; set; }

        [Required]
        [Display(Name = "BloodGroup")]
        public string BloodGroup { get; set; }

        [Required]
        [Display(Name = "Personal Doctor Name")]
        public string PD_Name { get; set; }

        [Required]
        [Display(Name = "Personal Doctor Contact Number")]
        public string PD_ContactNumber { get; set; }

        [Required]
        [Display(Name = "Next Kin Name")]
        public string NK_Name { get; set; }

        [Required]
        [Display(Name = "Next Kin Contact Number")]
        public string NK_ContactNumber { get; set; }
        [Required]
        [Display(Name = "Next Kin Address")]
        public string NK_Address { get; set; }

        [Required]
        [Display(Name = "Local Gov Area Orgin")]
        public int LGAOriginID { get; set; }

        [Required]
        [Display(Name = "Local Gov Area Current")]
        public int LGACurrentID { get; set; }

        [Required]
        [Display(Name = "Country Resident")]
        public int CountryResidentID { get; set; }

        [Required]
        [Display(Name = "Country Cityzen")]
        public int CountryCityzenID { get; set; }
    }

    [MetadataType(typeof(AgentMetaData))]
    public partial class Agent { }
    public class AgentMetaData
    {
        [Required]
        [Display(Name = "ID")]
        public int ID { get; set; }

        [Required]
        [Display(Name = "First Name")]
        public string FirstName { get; set; }

        [Required]
        [Display(Name = "Last Name")]
        public string Lastname { get; set; }

        [Required]
        [Display(Name = "Address")]
        public string Addresses { get; set; }

        [Required]
        [Display(Name = "City")]
        public string City { get; set; }

        [Required]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Required]
        [Display(Name = "Name")]
        public string Guarantor_Name { get; set; }

        [Required]
        [Display(Name = "Contact Number 1")]
        public string Guarantor_ContactNumber1 { get; set; }

        [Display(Name = "Contact Number 2")]
        public string Guarantor_ContactNumber2 { get; set; }

        [Required]
        [Display(Name = "Address")]
        public string Guarantor_Address { get; set; }

        [Required]
        public int ConsultantID { get; set; }

        [Required]
        [Display(Name = "Local Gorverment Area")]
        public int LGAID { get; set; }
    }

    [MetadataType(typeof(SubcriberMetaData))]
    public partial class Subcriber { }
    public class SubcriberMetaData
    {
        [Required]
        [Display(Name = "UniqueCode")]
        public int UniqueCode { get; set; }
    }

    [MetadataType(typeof(EventtMetaData))]
    public partial class Eventt { }
    public class EventtMetaData
    {
        [Required]
        [Display(Name = "ID")]
        public string ID { get; set; }

        [Required]
        [Display(Name = "Name")]
        public string Name { get; set; }

        [Required]
        [Display(Name = "Location")]
        public string Location { get; set; }

        [Required]
        [Display(Name = "Partner")]
        public int PartnerID { get; set; }

        [Required]
        [Display(Name = "Local Gov Area")]
        public int LGAID { get; set; }

        [Required]
        [Display(Name = "Admin ID")]
        public int AdminID { get; set; }
    }

    [MetadataType(typeof(JobApplicationMetaData))]
    public partial class JobApplication { }
    public class JobApplicationMetaData
    {
        [Required]
        [Display(Name = "ID")]
        public string ID { get; set; }

        [Required]
        [Display(Name = "Title")]
        public string Title { get; set; }

        [Required]
        [Display(Name = "First Name")]
        public string FirstName { get; set; }

        [Display(Name = "Middle Name")]
        public string MiddleName { get; set; }

        [Required]
        [Display(Name = "Last Name")]
        public string LastName { get; set; }

        [Required]
        [Display(Name = "Mobile")]
        public string ContactMobile1 { get; set; }

        [Display(Name = "Mobile 2")]
        public string ContactMobile2 { get; set; }

        [Required]
        [Display(Name = "Addresses")]
        public string Addresses { get; set; }

        [Required]
        [Display(Name = "City")]
        public string City { get; set; }

        [Required]
        [Display(Name = "Highest Education")]
        public string Highest_Education { get; set; }

        [Required]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Required]
        [Display(Name = "Institution Name")]
        public string InstitutionName { get; set; }

        [Required]
        [Display(Name = "Course of Study")]
        public string CourseOfStudy { get; set; }

        [Required]
        [Display(Name = "Grade")]
        public float Grade { get; set; }

        [Required]
        [Display(Name = "State")]
        public int StateID { get; set; }
    }
}